package boot.model;

import boot.domain.wxGoods.Goods;

import java.util.List;

public class userCarts {
    private List<userGoods> userGoods;
    int userId;


    public userCarts() {
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public List<boot.model.userGoods> getUserGoods() {
        return userGoods;
    }

    @Override
    public String toString() {
        return "userCarts{" +
                "userGoods=" + userGoods +
                ", userId=" + userId +
                '}';
    }

    public void setUserGoods(List<boot.model.userGoods> userGoods) {
        this.userGoods = userGoods;
    }

    public userCarts(List<boot.model.userGoods> userGoods, int userId) {
        this.userGoods = userGoods;
        this.userId = userId;
    }
}
